<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>Koltso7</title>
  <link href="style/seamspace.css" rel="stylesheet" type="text/css"/>
  <link href="style/date.css" rel="stylesheet" type="text/css"/>
  <ui:insert name="head"/>
</head>

<body>

  <div id="header">
  	<table width="100%" height="100">
  		<tr>
  			<td valign="middle">
  				<a href="/koltso7/"><img src="style/koltso7_logo.png" border="0"/></a>
  			</td>
  			<td valign="top" align="right">
  				<s:fragment rendered="#{identity.loggedIn}">
          			<s:link view="/profile.xhtml" value="My Profile" propagation="none">
            			<f:param name="name" value="#{authenticatedMember.memberName}"/>
          			</s:link>
          			<h:outputText styleClass="divider" value=" | "/>
        		</s:fragment>

        		<s:fragment rendered="#{s:hasRole('admin')}">
          			<s:link view="/security.xhtml" value="Security" propagation="none"/>
          			<h:outputText styleClass="divider" value=" | "/>
        		</s:fragment>
        
        		<s:link action="#{identity.logout}" value="Log out" rendered="#{identity.loggedIn}"/>
        		<!-- <h:outputLink value="home.seam" rendered="#{not identity.loggedIn}">Log in</h:outputLink>-->
  				
  			</td>
  		</tr>
  	</table>

        
  </div>
  
  <div id="menubar">
    <!-- <s:link view="/home.xhtml" value="Home" propagation="none"/><h:outputText styleClass="divider" value=" | "/> 
    <s:link value="Browse" onclick="javascript:alert('This feature coming soon!');return false"/><h:outputText styleClass="divider" value=" | "/>
    <s:link view="http://project.comex.ru/wiki" value="О проекте" />-->
	<h:outputLink value="http://project.comex.ru/wiki">
		<f:verbatim>О проекте</f:verbatim>
	</h:outputLink>

    
  </div>

  <div id="content">
    <ui:insert name="content"/>
  </div>
  <br />
  <div align="center">Copyleft 2008 <a href="mailto:ahundov@gmail.com">Koltso7</a></div>
  <br />
</body>
</html>

